import ReactDOM from "react-dom/client";
import "normalize.css";
import "./assets/css/index.less";
import App from "@/App";
import { Provider } from "react-redux";
import { HashRouter } from "react-router-dom";
import store from "@/stores/index";
import { ThemeProvider } from "styled-components";
import theme from "./assets/theme";

const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
root.render(
  <Provider store={store}>
    <ThemeProvider theme={theme}>
      <HashRouter>
        <App />
      </HashRouter>
    </ThemeProvider>
  </Provider>
);
